Modular UML Semantics: Interpretations in Z Based on Templates and Generics

نویسندگان

  • Nuno Amálio
  • Susan Stepney
  • Fiona Polack
چکیده

Component systems comprise components linked in various ways. We illustrate an approach to expressing and selecting appropriate semantics for components, using as a starting point UML class diagrams. Like most diagrammatic notations, UML does not have a fixed interpretation. We present a meta-modular framework for the combined use of UML and Z, based on two levels. At the meta-level, we express modular semantic interpretation of UML diagrams by using templates and generics. At the instantiation-level, UML models are translated into Z specifications by instantiating the corresponding meta-level semantic interpretations. This allows the definition of semantic interpretations that are precise and unambiguous in a modular fashion, allowing tailoring of semantic interpretations by plugging-in or plugging-out modules representing some semantic aspect, and enhancing the readability, conciseness and abstraction of the resulting Z specification.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Templates and Generics for Translating UML Class Diagrams into Z

This paper explores the use of templates and generics in translating from class diagrams to formal descriptions. It presents an approach for the translation of UML class diagrams into Z, which builds on previous work, correcting problems found in those approaches. This allows a plug-and-play approach to different formalisations of UML semantics. As well as providing rigorous translation, we cla...

متن کامل

I Am Grateful to Deirdre Wilson for Her Insightful Comments and Continuous Support. I Also Thank * on Generics *

In this paper I argue against previous approaches to the semantics of generics which involved the notions of prototype, stereotype and relevant quantification. I assume that the logical form of generics includes a generic operator which, as Heim (1992) has suggested, can be construed as the modal operator of necessity. After demonstrating that the presence of the generic operator in a semantic ...

متن کامل

UML Metamodel Formalization with Object-Z: the State Machine Package

This paper presents a formalization using Object-Z of the State Machine package in the UML metamodel. In the specification, the abstract syntax and the static and dynamic semantics for each individual model construct in the package are grouped together and encapsulated within a single Object-Z class. For formalizing the dynamic semantics, a denotational semantics of the construct is first given...

متن کامل

Dutchmen are Good Sailors: Generics and Gradability∗

Many generics have quite strong interpretations. Ravens are black is naturally paraphrased as all normal ravens are black.. However, there is a sundry collection of weak generics, ones that can be true even though most members of the kind at issue do not conform to them, including Dutchmen are good sailors and lions have manes. This paper presents a new semantic theory for generics on which the...

متن کامل

Generative frameworks for rigorous model-driven development

Our increasing reliance on software systems requires reliable software. Mainstream software manufacture, however, is not rigorous and precise, and resulting software lacks the desired reliability. Formal methods take a rigorous and precise approach to software development, delivering reliable software, but they are widely recognised as being impractical. Although the situation is improving, the...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003